package m823.phone;

public  class Phone {
    private String brand;
    private String model;

    public Phone(String brand, String model) {
        this.brand = brand;
        this.model = model;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public  void show(){
        System.out.println("这个手机的品牌是"+getBrand()+",型号是"+getModel());
    }
    public  void call(){
        System.out.println("打电话");
    }
    public  void note(){
        System.out.println("发短信");
    }
}
